<!-- userEditForm.php 用于显示要更新的用户信息的表单。 -->
 <?php 
 require './common/menu.php';
  ?>
<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改MV信息</title>
 </head>
 <body>
 <?php
  $row = $data['mv'];
   $id = $row['mid'];  
$mvname=$row['mvname'];
$pic='upload/'.$row['pic'];
$address=$row['address'];
 ?>

<form method="post"  action="admin.php?c=mv&m=update"  enctype="multipart/form-data">
<table align="center" border="1" width=500>
<caption>修改MV信息</caption>
<tr>
  <td width="20%">id</td>
  <td width="80%"><?php  echo $id;  ?>
  <input type="hidden" name="id" value=<?php  echo $id;  ?>>  
  </td>
</tr>
<tr>
  
                <td>MV名称</td>
                <td>
                  <input type="text" name="mvname" size=30 value=<?php echo $mvname;?>></td>
              </tr>
              
        
              
              <tr >
              
                <tr class="success">
                <td width=150>MV海报</td>
                <td>
                  原海报:        <img src='<?php echo $pic;?>
                  ' width=120 height=130 class="img-rounded">
                  <input type="file" name="pic"></td>
              </tr>
              </tr>
              <tr>

</tr>
              </tr>
            <tr class="success">
                <td width=150>下载地址</td>
                <td>
                <input type="text" name="address" size=30 value=<?php echo $address;?>></td>
                
              </tr>
              <tr >
                <td width=150></td>
                <td>
                  <input type="submit" value="更新" class="btn btn-info"></td>
                  
              </tr>
            </table>
</form>
 </body>
</html>